//
//  ICChatViewController+Event.h
//  ICome
//
//  Created by 席鹏飞 on 2016/11/28.
//  Copyright © 2016年 iCom. All rights reserved.
//

#import "ICChatViewController.h"
#import "ICRedPacketReceiveView.h"
#import "ICClickRedPacketModel.h"

@class ICChatMessageBaseCell;
@interface ICChatViewController (Event) <ICRedPacketReceiveViewDelegate,ICRecordManagerDelegate>

@property (nonatomic, strong) ICRedPacketReceiveView *receiveView;
@property (nonatomic, strong) ICMessageModel *messageModel;
@property (nonatomic, strong) NSString *groupId;

// 点击红包逻辑处理
- (void)clickRedPacketLogic:(ICClickRedPacketModel *)redPacketModel
               messageModel:(ICMessageModel *)messageModel
                    groupId:(NSString *)gId;
// play voice
- (void)chatVoiceTaped:(ICMessageFrame *)messageFrame
             voiceIcon:(UIImageView *)voiceIcon
               redView:(UIView *)redView;

- (void)showLargeImageWithOglImage:(UIImage *)oglImage
                          WithPath:(NSString *)imgPath
                      withMessageF:(ICMessageFrame *)messageF
                          fromView:(UIView *)from
                       currentCell:(ICChatMessageBaseCell *)cell;

- (void)showLargeVideoWithOglImage:(UIImage *)oglImage
                          fromView:(UIView *)from
                       currentCell:(ICChatMessageBaseCell *)cell;

@end
